package main.java.com.riant.test2;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class Test1 {

    public static void main(String[] args) throws IOException {
        File file =new File("src\\main\\java\\com\\riant\\test2\\a.txt");
        FileInputStream fileInputStream=new FileInputStream(file);
        int len=-1;
        /**
         *FileInputStream
         * */
        while((len=fileInputStream.read())!=-1){
            System.out.println(len);
        }



    }
}
